import http from '../util/http.js'

const signInUrl = '/manager/queryByAccountAndPassword'
const queryByAccountUrl = '/manager/queryByAccount'
const createUrl = '/manager/create'


const signIn = (data) => {
    return http.post(signInUrl, data)
}

const queryByAccount = (data) => {
    return http.get(queryByAccountUrl, data)
}

const create = (data) => {
    return http.post(createUrl, data)
}


export default {
    signIn, queryByAccount, create
}